<?php 
namespace Home\Service;
use Think\Model;
class YgclDianzaiService extends Model{
	
	//判断是否已点赞
	public function get_isdianzai($uid,$id,$type){
		if(D('YgclDianzai')->where(array('uid'=>$uid,'objectid'=>$id,'type'=>$type))->find()){
			return true;
		}else{
			return false;
		}
	}
}
?>